import type * as Common from './common/type'
import http from '@/utils/http'

const BASE_URL = '/p/my-score'

// 成绩查询
export function getScoreList(studentId: string) {
  return http.get<Common.ScoreListResp[]>(`${BASE_URL}/${studentId}`)
}

export function getScoreDetail(examRecordId: string) {
  return http.get<Common.ScoreListResp[]>(`${BASE_URL}/detail/${examRecordId}`)
}
